<h2>Restore from backup</h2>
<div class="form">
<form action="<?php echo $t['submit_route'];?>" method="post">
<table class="properties-list">
<tr>
<td class="name">Backup file</td>
<td class="value"><input type="text" name="backup_file" id="fe-backup_file"/>
<div>Full path to backup file within server filesystem.</div>
<div class="warning-inline">ATTENTION! All content, settings, user accoutns will be erased during backup restoration process!</div></td>
</tr>

<tr>
<td class="name"></td>
<td class="value"><input type="submit" value="restore"/></td>
</tr>

<!-- 
<tr>
<td class="name"></td>
<td class="value"></td>
</tr>
-->
</table>

<h3>Candidates</h3>
<ul>
<?php 
    foreach ($t['backup_files'] as $file) {
        printf('<li><a href="" onclick="copy_element_contents(this, \'fe-backup_file\'); return false;">%s</a></li>', $file);
    }
?>
</ul>
</form>
</div>